package com.shf.mapper;

import com.shf.domain.entity.Article;
import com.shf.domain.entity.Collect;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 叶枫
* @description 针对表【sg_collect】的数据库操作Mapper
* @createDate 2024-05-13 15:46:47
* @Entity generator.domain.Collect
*/
public interface CollectMapper extends BaseMapper<Collect> {

    List<Article> getUserCollects( @Param("userId") Long userId);

}




